<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <link rel="stylesheet" href="./css/advpos.css/advimg.css">
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body>
    <div class="x-nav">
        <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a>
              <cite>导航元素</cite></a>
          </span>
        <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
    </div>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <!-- 头部筛选区域 -->
            <div class="advpos_head">
                <form class="layui-form filter_form">
                    <div class="layui-form-item ">
                        <label class="layui-form-label filter_form_label">广告图描述</label>
                        <div class="layui-input-inline">
                            <input type="text" name="title" required lay-verify="required" placeholder="请输入广告图描述" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label filter_form_label">广告图的位置</label>
                        <div class="layui-input-inline">
                            <select name="advposname" id="advposition">
                              <option value="">请选择广告图的位置</option>
                              <!-- <option value=\"\">请选择广告位</option> -->
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-inline">
                            <button type="button" class="layui-btn layui-btn layui-btn-normal search_btn" lay-filter="formDemo">
                              <i class="layui-icon layui-icon-search"></i>  
                              搜索
                            </button>
                            <button type="reset" class="layui-btn layui-btn-primary reset_btn">
                              <i class="layui-icon layui-icon-refresh"></i> 
                              重置
                            </button>
                        </div>
                    </div>
                </form>
            </div>
            <div class="advpos_body">
                <!-- 主体部分工具部分 -->
                <div class="adpos_bar">
                    <!-- 左边新增 导出按钮 -->
                    <div class="layui-form-item">
                        <div class="layui-input-inline">
                            <button class="layui-btn add_btn" lay-submit lay-filter="formDemo">
                            <i class="layui-icon layui-icon-add-1"></i> 
                            新增
                          </button>
                            <button class="layui-btn del_btn" lay-submit lay-filter="formDemo">
                            <i class="layui-icon layui-icon-delete"></i> 
                            删除
                          </button>
                            <button type="reset" class="layui-btn layui-btn-primary out_btn">
                            <i class="layui-icon layui-icon-download-circle"></i> 
                            导出
                          </button>
                        </div>
                    </div>
                    <!-- 右边 工具按钮 -->
                    <div class="layui-form-item">
                        <div class="layui-input-inline layui-input-bar">
                            <button type="button" class="layui-btn layui-btn-primary btn-radius" id="tip_btn">
                            <i class="layui-icon layui-icon-up" id="change"></i>  
                          </button>
                            <button type="button" class="layui-btn layui-btn-primary btn-radius" id="refresh_btn">
                            <i class="layui-icon layui-icon-refresh"></i>  
                          </button>
                            <button type="button" class="layui-btn layui-btn-primary btn-radius func_btn" id="tooltip_btn">
                            <i class="layui-icon layui-icon-app"></i>  
                          </button>
                            <div class="filter_tip" style="display: none;">
                                <div class="tip_info">关闭搜索区</div>
                                <div class="tip_tri"></div>
                            </div>
                            <div class="filter_refresh" style="display: none;">
                                <div class="refresh_info">刷新</div>
                                <div class="refresh_tri"></div>
                            </div>
                            <div class="filter_tooltip" style="display: none;">
                                <div class="layui-form-item tooltip_info">
                                    <div class="checkbox">
                                        <input type="checkbox" name="advposname" title="广告位名称" checked>
                                        <span>广告位名称</span>
                                    </div>
                                    <div class="checkbox">
                                        <input type="checkbox" name="advposdesc" title="广告位尺寸" checked>
                                        <span>广告位尺寸</span>

                                    </div>
                                    <div class="checkbox">
                                        <input type="checkbox" name="default_data" title="广告图数量" checked>
                                        <span>广告图数量</span>

                                    </div>
                                    <div class="checkbox">
                                        <input type="checkbox" name="advpossize" title="广告位尺寸" checked>
                                        <span>广告位尺寸</span>
                                    </div>
                                </div>
                                <div class="tooltip_tri"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 表格渲染区域 -->
            <div class="advpos_table" lay-filter="text">
                <table class="layui-table">
                    <colgroup>
                        <col width="48">
                        <col width="48">
                        <col>
                        <col>
                        <col>
                        <col>
                    </colgroup>
                    <thead class="thead">
                        <tr class="tr">
                            <th>
                                <input type="checkbox" id="check">
                            </th>
                            <th>#</th>
                            <th id="advposname">广告图位</th>
                            <th id="advposdesc">广告图描述</th>
                            <th id="default_data">广告图</th>
                            <th id="advpossize">广告图链接</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>
                                <input type="checkbox" id="status">
                            </td>
                            <td>1</td>
                            <td>214</td>
                            <td>4</td>
                            <td>
                                <img src="">
                            </td>
                            <td>1242</td>
                            <td class="td">
                                <div class="layui-form-item">
                                    <button type="button" class="layui-btn layui-btn-normal btn-radius">
                                  <i class="layui-icon layui-icon-edit"></i>  
                                </button>
                                    <button type="button" class="layui-btn layui-btn-danger btn-radius">
                                  <i class="layui-icon layui-icon-delete"></i>  
                                </button>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <!-- 分页区域 -->
            <div id="page_box"></div>

        </div>
        <!-- 弹出层区域 -->
        <script type="text/html" id="table_edit">
            <form class="layui-form" id="form_edit" lay-filter="form_edit" style="margin-left: 15%;margin-top: 20px;">
                <!-- 隐藏域 -->
                <input type="hidden" name="id">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red;margin-right: 3px;">*</span>广告位</label>
                    <div class="layui-input-block select_block">
                        <input type="text" name="advimgpos" required lay-verify="required" placeholder="请输入广告图位置" autocomplete="off" class="layui-input" style="width: 70%;">
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label"> <span style="color: red;margin-right: 3px;">*</span> 广告图描述</label>
                    <div class="layui-input-block">
                        <textarea name="advimgdesc" placeholder="请输入广告图描述" class="layui-textarea" style="width: 70%;"></textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red;margin-right: 3px;">*</span>广告图链接</label>
                    <div class="layui-input-block">
                        <input type="text" name="advimglink" required lay-verify="required" placeholder="请输入广告图链接" autocomplete="off" class="layui-input" style="width: 70%;">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span style="color: red;margin-right: 3px;">*</span>广告图</label>
                    <div class="layui-input-block">
                        <button type="button" class="layui-btn layui-btn layui-btn-normal" id="up_btn">点击上传</button>
                        <input type="file" name="" id="coverFile" style="display: none;" id="up_file" accept="image/png,image/jpeg,image/gif">
                    </div>
                </div>
                <div class="layui-form-item" style="float: right;">
                    <div class="layui-input-inline">
                        <button type="button" class="layui-btn layui-btn layui-btn-primary" lay-filter="formDemo" id="cancle_btn">取消</button>
                        <button class="layui-btn  layui-btn-normal" lay-submit lay-filter="formDemo" id="sure_btn">确认</button>
                    </div>
                </div>
            </form>
        </script>
        <script src="./lib/layui/layui.all.js"></script>
        <script src="./lib/axios.js"></script>
        <script src="./js/baseUrl.js"></script>
        <script src="./js/jquery.min.js"></script>
        <script src="./js/advertisment/advimg.js"></script>
</body>
<script>
</script>

</html>